//
//  MBCompassOverlay.h
//  iNaviCore
//
//  Created by fanyunlong on 4/12/16.
//  Copyright © 2016 Mapbar. All rights reserved.
//

#import "MBOverlay.h"

/**
 罗盘图层
 */
@interface MBCompassOverlay : MBOverlay
/**
 *  构造罗盘图层
 *
 *  @param filePath  文件路径
 *  @param radius    半径
 *  @param width     线宽
 *  @param dotRadius 点
 *
 *  @return 罗盘图层
 */
-(id)initWithImage:(NSString*)filePath radius:(CGFloat)radius lineWidth:(CGFloat)width dotRadius:(CGFloat)dotRadius;


/**
 *  高精度坐标
 *
 *  @since 5.0.x
 */
@property(nonatomic,assign) MBNdsPoint ndsPosition;
@property(nonatomic,assign) CGFloat targetDirection;
@property(nonatomic,assign) CGFloat facingDirection;
@property(nonatomic,assign) CGFloat lineWidth;
@property(nonatomic,assign) CGFloat dotRadius;
@property(nonatomic,assign) CGFloat compassRadius;
@property(nonatomic,assign) unsigned int dotColor;

@end
